package es.uji.icc.robot.grasp;

@SuppressWarnings("serial")
public class GraspException extends Exception  {
	
	protected String message;
	protected int serverErrorNumber;
	
	public GraspException(String message, int serverErrorNumber) {
		super();
		this.message = message;
		this.serverErrorNumber = serverErrorNumber;
	}
	
	public GraspException(String message) {
		super();
		this.message = message;
	}

	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public int getServerErrorNumber() {
		return serverErrorNumber;
	}
	
}
